package com.dao;

import com.entity.Closeoffice;
import com.entity.CloseofficeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CloseofficeDao {
    long countByExample(CloseofficeExample example);

    int deleteByExample(CloseofficeExample example);

    int deleteByPrimaryKey(Integer closeofficeid);

    int insert(Closeoffice record);

    int insertSelective(Closeoffice record);

    List<Closeoffice> selectByExample(CloseofficeExample example);

    Closeoffice selectByPrimaryKey(Integer closeofficeid);

    int updateByExampleSelective(@Param("record") Closeoffice record, @Param("example") CloseofficeExample example);

    int updateByExample(@Param("record") Closeoffice record, @Param("example") CloseofficeExample example);

    int updateByPrimaryKeySelective(Closeoffice record);

    int updateByPrimaryKey(Closeoffice record);

    List<Closeoffice> findAll();
}